<?php 
include 'db_infor.php';
	$con=mysql_connect($db_host, $db_user, $db_pass);
	if(!$con) die ('Loi ket noi mysql: '.mysql_error());
	else {
		mysql_select_db($database) or die('Khong ton tai CSDL, '.mysql_error());
		mysql_query("SET NAMES 'utf8'");
	}	
?>